﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CRM.Models.Company>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>详细信息</h2>

    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">Id</div>
        <div class="display-field"><%= Html.Encode(Model.Id) %></div>
        
        <div class="display-label">Name</div>
        <div class="display-field"><%= Html.Encode(Model.Name) %></div>
        
        <div class="display-label">Status</div>
        <div class="display-field"><%= Html.Encode(Model.Status) %></div>
        
        <div class="display-label">NewSource</div>
        <div class="display-field"><%= Html.Encode(Model.NewSource) %></div>
        
        <div class="display-label">Type</div>
        <div class="display-field"><%= Html.Encode(Model.Type) %></div>
        
        <div class="display-label">Size</div>
        <div class="display-field"><%= Html.Encode(Model.Size) %></div>
        
        <div class="display-label">City</div>
        <div class="display-field"><%= Html.Encode(Model.City) %></div>
        
        <div class="display-label">Prev</div>
        <div class="display-field"><%= Html.Encode(Model.Prev) %></div>
        
        <div class="display-label">Add</div>
        <div class="display-field"><%= Html.Encode(Model.Add) %></div>
        
        <div class="display-label">Zip</div>
        <div class="display-field"><%= Html.Encode(Model.Zip) %></div>
        
        <div class="display-label">WebSite</div>
        <div class="display-field"><%= Html.Encode(Model.WebSite) %></div>
        
        <div class="display-label">CompanyIntr</div>
        <div class="display-field"><%= Html.Encode(Model.CompanyIntr) %></div>
        
        <div class="display-label">ContactPersonId</div>
        <div class="display-field"><%= Html.Encode(Model.ContactPersonId) %></div>
        
        <div class="display-label">CheckInTime</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.CheckInTime)) %></div>
        
    </fieldset>
    <p>

        <%=Html.ActionLink("Edit", "Edit", new { id=Model.Id }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

